/**
 * @(#) MedicalSubTabVO.as
 *
 * @date		2011. 03. 20.
 * @version		1.0
 * @author		Jo, ChangHun
 * @description	의료비 서브  Value Object
 *
 */
package com.skt.common_hr.resupport.model.vo
{
	import com.wcl.utils.NumberUtil;


	[Bindable]
	public class ResupportSubTabVO
	{
		
//		public var HOSPD:String = "";	// 병원/약국명
//		
//		public var MEDTX:String = "";	// 진료과목명
//		public var MEDCD:String = "";	// 진료과목코드
//		public var MGBN:String = "";	// 구분코드
//		public var MGBT:String = "";	// 구분명

		public var USEDT:Date = new Date();	// 의료비 사용일
		public var RGBN:String = "";	// 구분
		public var RUSE:String = "";	// 이용항목
		public var BETRG:Number = 0;	// 사용금액
		public var RGBNT:String = "";	// 구분TEXT

		public var CHECK:Boolean;

		public function get BETRG_F():String{
			return NumberUtil.NumberFormat(BETRG);
		}

		public function clone():ResupportSubTabVO
		{
			var tmp:ResupportSubTabVO = new ResupportSubTabVO();
			tmp.USEDT = this.USEDT;
			tmp.BETRG = this.BETRG;
			tmp.RGBN  =	this.RGBN;
			tmp.RUSE = this.RUSE;
			tmp.RGBNT = this.RGBNT;
			
			
//			tmp.HOSPD = this.HOSPD;
//			tmp.MEDTX = this.MEDTX;
//			tmp.MEDCD = this.MEDCD;	
//			
//			tmp.MGBN  = this.MGBN;		
//			tmp.MGBT  = this.MGBT;					

			return tmp;
		}


	}
}